package com.luokun.vue_shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@Data
@TableName("sp_permission")
public class SpPermission {
    //主键
    @TableId(type = IdType.AUTO)
    private int psId;
    //权限名称
    private String psName;
    //父id
    private int psPid;
    //控制器
    private String psC;
    //操作方法
    private String psA;
    //权限等级
    private Integer psLevel;

//    private List<SpPermission> children;



}
